package com.example.demo1;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: Hua YY
 * Date: 2024-11-04
 * Time: 14:00
 */

    @RestController
    public class HelloController {
        @RequestMapping("/hello")
        public String hello(){
            int a = 10/0;
            return "hello , Sprint Boot";
        }
    }


